package Services

//声明一个接口
type IGetUserService interface {
	GetUserName(uid int) string

}

//声明一个接口 也可以叫类
type UserService struct{}

//查询
func (this UserService) GetUserName(uid int) string {

	if uid == 100 {

		return "菜鸡飞"
	}

	return "胖虎"

}
